/*
 * @Author: liheimao 892837676@qq.com
 * @Date: 2022-05-25 18:00:11
 * @LastEditors: liheimao 892837676@qq.com
 * @LastEditTime: 2022-11-12 16:51:28
 * @FilePath: \xc-admin-master\src\api\inspection.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'
/**点巡检 */

//点检路径
export function getPathListAPI(data) {
    return request({
        url: '/actpath/getActPathsByCondPage.ashx',
        method: 'post',
        data
    })
}

//根据点检路径ID查询点检项
export function getActItemsByActPathIdAPI(data) {
    return request({
        url: '/actitem/getActItemsByActPathId.ashx',
        method: 'post',
        data
    })
}

//点检项详情 
export function getActItemDetailAPI(data) {
    return request({
        url: '/actitem/getActItemByActItemID.ashx',
        method: 'post',
        data
    })
}

//计划点检
export function getActItemTaskAPI(data) {
    return request({
        url: '/actitem/getActItemsByCondPage2.ashx',
        method: 'post',
        data
    })
}

// 点检统计
export function getActItemStaticByCoundAPI(data) {
    return request({
        url: '/actitem/getActItemStaticByCond.ashx',
        method: 'post',
        data
    })
}
